package com.xnx3.wangmarket.plugin.innerDown.entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.xnx3.j2ee.entity.BaseEntity;

/**
 * 部门
 */
@Entity
@Table(name = "plugin_innerdown_branch")
public class InnerDownBranch extends BaseEntity {
	
	private Integer id;		//自动编号
	private String name;	//部门名称
	public Short isdelete;	//是否删除
	
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Short getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(Short isdelete) {
		this.isdelete = isdelete;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "PluginInnerDownBranch [id=" + id + ", name=" + name + ", isdelete=" + isdelete + "]";
	}
	
}